<?php

/**
 * 設置《錯誤提示信息》
 * W_OOOO 警告性錯誤 
 * E_OOOO 致命性錯誤
 * N_OOOO 註意性錯誤
 */
$GLOBALS['TextDB_Error']['0_0000'] = '未知錯誤';

$GLOBALS['TextDB_Error']['W_0000'] = 'TextDB 已經啟動';
$GLOBALS['TextDB_Error']['W_0001'] = '';
$GLOBALS['TextDB_Error']['W_1000'] = '當前連接資源不存在';
$GLOBALS['TextDB_Error']['W_1001'] = '連接資源不存在';
$GLOBALS['TextDB_Error']['W_1002'] = '數據庫名稱不合法';
$GLOBALS['TextDB_Error']['W_1003'] = '數據庫不可用';
$GLOBALS['TextDB_Error']['W_1004'] = '數據庫不存在';
$GLOBALS['TextDB_Error']['W_1005'] = '數據庫已存在';
$GLOBALS['TextDB_Error']['W_1006'] = '系統庫無權操作';
$GLOBALS['TextDB_Error']['W_1007'] = '數據庫已經回收';
$GLOBALS['TextDB_Error']['W_1008'] = '清空模式不存在';

$GLOBALS['TextDB_Error']['W_2000'] = '數據表名稱不能為空';
$GLOBALS['TextDB_Error']['W_2001'] = '新數據表名稱不能為空';
$GLOBALS['TextDB_Error']['W_2002'] = '數據表名稱不合法';
$GLOBALS['TextDB_Error']['W_2003'] = '數據表不存在';
$GLOBALS['TextDB_Error']['W_2004'] = '數據表已存在';
$GLOBALS['TextDB_Error']['W_2005'] = '表字段不能為空';
$GLOBALS['TextDB_Error']['W_2006'] = '系統表無權操作';
$GLOBALS['TextDB_Error']['W_2007'] = '數據表不可用';

$GLOBALS['TextDB_Error']['W_3000'] = '字段名稱不可為空';
$GLOBALS['TextDB_Error']['W_3001'] = '新字段名稱不可為空';
$GLOBALS['TextDB_Error']['W_3002'] = '字段名稱不合法';
$GLOBALS['TextDB_Error']['W_3003'] = '字段不存在';
$GLOBALS['TextDB_Error']['W_3004'] = '字段已存在';

$GLOBALS['TextDB_Error']['W_4000'] = '數據長度與字段長度不同';
$GLOBALS['TextDB_Error']['W_4001'] = '結束位置必須大於等於開始位置';
$GLOBALS['TextDB_Error']['W_4002'] = '結束位置必須小於等於開始位置';
$GLOBALS['TextDB_Error']['W_4003'] = '結束位置必須大於開始位置';
$GLOBALS['TextDB_Error']['W_4004'] = '未知排序方式';

$GLOBALS['TextDB_Error']['E_0000'] = '無法建立數據庫存放目錄';
$GLOBALS['TextDB_Error']['E_0001'] = 'TextDB 沒有啟動';
$GLOBALS['TextDB_Error']['E_0002'] = '數據庫資源庫沒有定義';
$GLOBALS['TextDB_Error']['E_1000'] = '連接資源信息創建失敗';
$GLOBALS['TextDB_Error']['E_1001'] = '連接資源信息不能為空';
$GLOBALS['TextDB_Error']['E_1002'] = '連接資源不合法';
$GLOBALS['TextDB_Error']['E_1003'] = '還沒有連接數據庫';
$GLOBALS['TextDB_Error']['E_1004'] = '連接資源不存在';
$GLOBALS['TextDB_Error']['E_1005'] = '數據庫名稱不能為空';
$GLOBALS['TextDB_Error']['E_1006'] = '新數據庫名稱不能為空';
$GLOBALS['TextDB_Error']['E_1007'] = '連接資源變更失敗';
$GLOBALS['TextDB_Error']['E_1008'] = '數據庫創建失敗';
$GLOBALS['TextDB_Error']['E_1009'] = '數據庫記錄不存在';
$GLOBALS['TextDB_Error']['E_1010'] = '數據庫回收失敗';
$GLOBALS['TextDB_Error']['E_1011'] = '數據庫還原失敗';
$GLOBALS['TextDB_Error']['E_1012'] = '數據庫修改失敗';

$GLOBALS['TextDB_Error']['E_2000'] = '超過嘗試解鎖次數';
$GLOBALS['TextDB_Error']['E_2001'] = '數據表創建失敗';
$GLOBALS['TextDB_Error']['E_2002'] = '數據表回收失敗';
$GLOBALS['TextDB_Error']['E_2003'] = '數據表還原失敗';
$GLOBALS['TextDB_Error']['E_2004'] = '數據表修改失敗';
$GLOBALS['TextDB_Error']['E_2005'] = '數據表復制失敗';

$GLOBALS['TextDB_Error']['N_1000'] = '數據庫還沒有被鏈接';

$GLOBALS['TextDB_Error']['N_4000'] = '沒有可刪除數據';
$GLOBALS['TextDB_Error']['N_4001'] = '沒有可修改數據';
$GLOBALS['TextDB_Error']['N_4002'] = '數據不可用';
$GLOBALS['TextDB_Error']['N_4003'] = '沒有找到數據';

?>